package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwEsp;
import com.tjmc.tiomscore.model.TranPtnHwEspExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwEspMapper extends TranPtnHwSuperMapper<TranPtnHwEsp> {
    long countByExample(TranPtnHwEspExample example);

    int deleteByExample(TranPtnHwEspExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwEsp record);

    int insertSelective(TranPtnHwEsp record);

    List<TranPtnHwEsp> selectByExample(TranPtnHwEspExample example);

    TranPtnHwEsp selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwEsp record, @Param("example") TranPtnHwEspExample example);

    int updateByExample(@Param("record") TranPtnHwEsp record, @Param("example") TranPtnHwEspExample example);

    int updateByPrimaryKeySelective(TranPtnHwEsp record);

    int updateByPrimaryKey(TranPtnHwEsp record);
}